import java.util.Locale;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String s=sc.nextLine();
        StringBuilder stringBuilder=new StringBuilder();
        for (int i = 0; i < s.length() ; i++) {
            char ch=s.charAt(i);
            if(Character.isLetter(ch)){
                if(Character.isUpperCase(ch)){
                    ch=(char)(ch+32);
                }
            }
            stringBuilder.append(ch);
        }
        System.out.println(stringBuilder);
    }
}
